//
//  SinaDiscoverController.swift
//  SinaWeibo
//
//  Created by 王朝阳 on 2016/10/22.
//  Copyright © 2016年 wangzhaoyang. All rights reserved.
//

import UIKit

class SinaDiscoverController: SinaVisitorViewController {

    override func viewDidLoad() {
        super.viewDidLoad()

//        view.backgroundColor = UIColor.blue
        // 判断用户是否登录
        if !isLogin {
            // 设置访客视图信息
            visitorView?.setupVisitorViewInfo(imageName: "visitordiscover_image_message", title: "登录后，最新、最热微博尽在掌握，不再会与实事潮流擦肩而过")
            return
        }
    }

    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }
    

    /*
    // MARK: - Navigation

    // In a storyboard-based application, you will often want to do a little preparation before navigation
    override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
        // Get the new view controller using segue.destinationViewController.
        // Pass the selected object to the new view controller.
    }
    */

}
